package com.aabte.design2.behavioral.state;

/**
 * @author Daniel
 * @version 1.0
 * @date 2020/5/4
 */
public class Application {

    public static void main(String[] args) {
        AudioPlayer audioPlayer = new AudioPlayer();
        audioPlayer.clickPlay();
        audioPlayer.clickNext();

        audioPlayer.clickLock();

        audioPlayer.clickPrevious();

        audioPlayer.clickLock();
        audioPlayer.clickNext();
    }

}
